package chapter02;

public class Example04 {
    public static void main(String[] args){
        int x = 12;         //定义变量x
        {
            int y = 96;                     //定义变量y
            System.out.println("x is"+x);   //访问变量x
            System.out.println("y is"+y);   //访问变量y
        }
//        y = x;
        System.out.println("x is" + x);
    }
}
